package com.aioz.security.mapper;

import com.aioz.security.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;


@Repository
public interface UserMapper extends BaseMapper<User> {

    //通过企业ID查询HR信息
    List<User> getUsersByCompanyId(Integer id);

    Integer getCompanyIdByUserId(Long userId);
}
